import axios from 'axios'
// 获取招标公告
export const getTenderAnnouncement = (params) => {
    return axios.get('/transaction/bidDocument/modalList', {params})
}
// 获取变更公告
export const getChangeAnnouncement = (params) => {
    return axios.get('/transaction/bidDocument/updateTimeList', {params})
}
// 获取中标公告
export const getBidAnnouncement= (params) => {
    return axios.get('/transaction/bidResponse/list', {params})
}
// 获取终止公告
export const getEndAnnouncement= (params) => {
    return axios.get('/transaction/bidDocument/statusList', {params})
}
// 报名
export const signUpAdd = (params) => {
    return axios.post('/auth/signUpAdd', params)
}

// 获取中标详情
export const getBidAnnouncementDetail= (bidingId) => {
    return axios.get(`/auth/bidResFindId/${bidingId}`, {
        headers: {
            'isToken': false,
            'Authorization': 'Bearer'
        }
    })
}
